#pragma once

#define Die(code) do{ exit(code); } while(0)

#define CONV(v) (struct sockaddr*)(v)

enum{
    USAGE_ERROR = 1,
    SOCKET_ERROR,
    BIND_ERROR
};